package com.maimao.spider.mapper;

import com.maimao.spider.model.Category;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author MaoLin Wang
 * @date 2020/11/24 9:33 下午
 */
@Mapper
public interface CategoryMapper {

    Integer insert(Category category);

    void insertBatch(@Param("categoryList") List<Category> categoryList);
}
